﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JztbgQuery.aspx.cs"  Inherits="QualityRPT.JztbgQuery" %>
<%@ Register TagPrefix="uc1" TagName="clheader" Src="include/cl_header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="cltop" Src="include/cl_top.ascx" %>
<%@ Register TagPrefix="uc1" TagName="clleft" Src="include/cl_left.ascx" %>
<%@ Register TagPrefix="uc1" TagName="clfooter" Src="include/cl_footer.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>ETC产品质量跟踪统计系统-IC卡汇总统计</title>
    <uc1:clheader id="clheader" runat="server"/>
</head>
<body>
  <uc1:cltop id="cltop" runat="server"/>
  <div class="container-fluid">
    <div class="row-fluid">
        <uc1:clleft id="clleft" runat="server"/>
         <!-- this is content start-->
        <form id="Form1" runat="server">
         <div class="box span10">
			<div class="box-header well">
				<h2><i class="icon-th"></i>IC卡汇总统计条件</h2>
			</div>
            <div class="box-content" style=" float:left">
                <a id="mul_sel_ck" href="#">点击查看已选择的查询条件</a>
                <div class="success mul_hide" id="mulsel_callback"></div>
                <input type="hidden" id="h_dev" runat="server" />
                <div style="clear: both; height: 12px;"></div>
                <asp:Label ID="Label1" runat="server" Text="起始时间："></asp:Label>
                <asp:TextBox ID="textBoxStart" runat="server" class="datetimepicker"></asp:TextBox>
                <asp:Label ID="Label2" runat="server" Text="结束时间："></asp:Label>
                <asp:TextBox ID="textBoxEnd" runat="server" class="datetimepicker"></asp:TextBox>
                <div style="clear:both;height:12px;"></div>
                <asp:Button ID="ButtonQ" runat="server" Text="查询" CssClass="botton" onclick="ButtonQ_Click" />
                <asp:Button ID="ButtonExport" runat="server" Text="导出" CssClass="botton" onclick="ButtonExport_Click" />
                <div style="clear:both;height:12px;"></div>
            </div>
         </div>
         </form>
         <div class="box span10">
					<div class="box-header well">
						<h2><i class="icon-th"></i>军车统计-<span id="span_t_consume" runat="server"></span></h2>
					</div>
					<div class="box-content">
						<ul class="nav nav-tabs" id="myTab">
							<li class="active"><a href="#exSpec">统计结果</a></li>
						</ul>
						<div id="myTabContent" class="tab-content">
							<div class="tab-pane active" id="exSpec">
								<table class="table table-bordered bootstrap-datatable datatable">
						            <thead>
							          <tr>
                                          <th>日期</th>
                                          <th>一次通过量</th>
                                          <th>逻辑异常量</th>
                                          <th>异常通过量</th>
                                          <th>漏读量</th>
                                          <th>交易总量</th>
                                          <th>一次通过率</th>
                                          <th>交易成功率</th>
                                          <th>逻辑异常率</th>
							          </tr>
						          </thead>   
						            <tbody>
                                        <asp:Repeater ID="repeater_data" runat="server">
                                            <ItemTemplate>
                                                <tr>
                                                	<td><%# DataBinder.Eval(Container.DataItem, "TB_DATE")%></td>
                                                    <td><%# DataBinder.Eval(Container.DataItem, "SUCC_COUNT")%></td>
                                                    <td><%# DataBinder.Eval(Container.DataItem, "GRAY_COUNT")%></td>
                                                    <td><%# DataBinder.Eval(Container.DataItem, "SPECIAL_COUNT")%></td>
                                                    <td><%# DataBinder.Eval(Container.DataItem, "NWU_COUNT")%></td>
                                                    <td><%# DataBinder.Eval(Container.DataItem, "TRANS_COUNT")%></td>
                                                    <td><%# QualityRpt.Utils.StringUtils.FormatRatio(DataBinder.Eval(Container.DataItem, "ONEPASS_RATE"))%>%</td>
                                                    <td><%# QualityRpt.Utils.StringUtils.FormatRatio(DataBinder.Eval(Container.DataItem, "DEVSUC_RATE"))%>%</td>
                                                    <td><%# QualityRpt.Utils.StringUtils.FormatRatio(DataBinder.Eval(Container.DataItem, "LEX_RATE"))%>%</td>
                                                </tr>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </tbody>
                                </table>
							</div>
					    </div>
					</div>
					</div>
          </div>		
         <!-- content end-->
    </div>
  <uc1:clfooter id="clfooter" runat="server"/>
  <div>
  </div>
</body>
</html>

